package link.hwx.service.oa.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import link.hwx.entity.oa.OaBillInfoVo;
import link.hwx.mapper.oa.OaSupplySourceMapper;
import link.hwx.service.oa.OaSupplySourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@DS("OAData")
@Service
public class OaSupplySourceServiceImpl implements OaSupplySourceService {

    @Autowired
    private OaSupplySourceMapper oaSupplySourceMapper;

    @Override
    public OaBillInfoVo findSupplySourceByRequestId(String supplySourceMainTableName, String requestid) {
        return oaSupplySourceMapper.findSupplySourceByRequestId(supplySourceMainTableName, requestid);
    }

    @Override
    public int updateSupplySourceU9DocNoByRequestId(String supplySourceMainTableName, String requestid, String srmdocno) {
        return oaSupplySourceMapper.updateSupplySourceU9DocNoByRequestId(supplySourceMainTableName, requestid, srmdocno);
    }


}
